package com.facotry.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * ------ 天道酬勤 -------
 *
 * @author ChenZihao
 * @date 2024/7/22
 * @desc --- 代码敲烂 月薪过万 ---
 */

@Data
public class ProducePlan {

    private String producePlanNum;
    private String planState;
    private long priority;
    private String productCode;
    private String productName;
    private String measureUnit;
    private String specification;
    private long planProduceNum;
    private long reportedNum;
    private String saleOrderNum;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deliveryDate;
    private String craft;
    private String workshop;
    private String produceLine;
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date planStartTime;
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date planOverTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date realStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date realOverTime;
    private String creater;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private long attr1;
    private long attr2;
    private String attr3;
    private String attr4;

}
